//////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////// 
// Create a base axis on boundary of surface mesh


#ifndef BASE_BOUNDARY_MESH_H
#define BASE_BOUNDARY_MESH_H

#include <vector>
#include "geom/localAxis.h"
#include "ctopology/topology.hpp"


using namespace std;

// class baseOnBoundaryMesh
//////////////////////////////////////////////////////////////////////////
class baseOnBoundaryMesh
{
public:
  baseOnBoundaryMesh(void);
  ~baseOnBoundaryMesh(void);

  // process local axis on boundary nodes and edges
  bool process (cTopology *top);


  // easy access
  vector <localAxis> m_nodes;  // based on sequence obtained from loops
  vector <localAxis> m_edges;  //   "   " .... 
  vector <int>       m_idEdges; // id edges that refer to m_edges
  vector <int>       m_idNodes; // id nodes that refer to m_edges
};

#endif